#pragma once
class CPerft : public CProcessStatus
{
    CMove chessmove;
    BITBOARD ply;
    uint first_depth;
    uint state;
public:
    CPerft();
    ~CPerft();

    uint Reset() { ply = 0; return 0; };
    BITBOARD Start( CBoard * board, uint depth );
    BITBOARD Run( CBoard * board, uint depth );
    BITBOARD GetPly() { return ply; };

};

